package com.wlhse.service;

import com.wlhse.dto.CheckPerson;
import com.wlhse.dto.CheckPersonDto;
import com.wlhse.dto.HseCheckRecordDto;
import com.wlhse.dto.RectCheckRecordDto;
import com.wlhse.dto.inDto.CheckRecordIDDto;
import com.wlhse.dto.outDto.Sys_rolesDto;
import com.wlhse.entity.QHSEECheckRecordPojo;
import com.wlhse.util.R;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface HSECheckRecordService {
    String queryQHSEECheckRecordByHeadman(HseCheckRecordDto hseCheckRecordDto, HttpServletRequest request);

    String queryQHSEECheckRecordByAdmin(HseCheckRecordDto hseCheckRecordDto, HttpServletRequest request);

    String updateRecordStatusByHeadman(QHSEECheckRecordPojo qhseeCheckRecordPojo, HttpServletRequest request);

    String updateRecordStatusByAdmin(QHSEECheckRecordPojo qhseeCheckRecordPojo, HttpServletRequest request);

    String deleteCheckRecord(Integer qHSEECheckRecordID);

    String queryCheckRecordByID(HseCheckRecordDto hseCheckRecordDto,HttpServletRequest request);

    String updateRectCheckRecord(RectCheckRecordDto rectCheckRecordDto,HttpServletRequest request);

    String addCheckperson(CheckPersonDto CheckPersonDto);
    String updateCheckperson(CheckPersonDto CheckPersonDto);

    String queryAllCheckPerson(Integer num,Integer size);

    String queryHeadman(Integer num,Integer size);

    String queryMember(Integer num,Integer size);

    String deleteCheckPerson(Integer checkPersonID);

    String updateAllRecordStatusByByHeadman(CheckRecordIDDto checkRecordIDDto, HttpServletRequest request);

    String updateAllRecordStatusByAdmin(CheckRecordIDDto checkRecordIDDto, HttpServletRequest request);

    String updatePersonRole(CheckPerson checkPerson);

    String deleteCheckPersons(List<String> checkPersonIDList);
    R queryNameLikeQhsee();
}
